package net.oschina.git.hikoyan.helloapi.processor.disruptor;

import com.lmax.disruptor.EventHandler;
import net.oschina.git.hikoyan.helloapi.processor.LongEvent;

/**
 * Created by yan on 17/2/6.
 */
public class LongEventHandler implements EventHandler<LongEvent> {
    public void onEvent(LongEvent event, long sequence, boolean endOfBatch) throws Exception {
        System.out.println("Event: " + event.getValue());
    }
}
